package com.ruoyi.common.core.constant;

public class MailConstant{

    public static final Integer MAX_SEND_COUNT=30;

    public static final Integer TIME0=0;
    public static final Integer TIME1=1;
    public static final Integer TIME2=2;
    public static final Integer TIME3=3;
    public static final Integer TIME4=4;
    public enum Frequency{

        Time0(0.5),Time1(2.0),Time2(12),Time3(24),Time4(48);

        private final double time;

        Frequency(double time) {
            this.time = time;
        }

        public double getTime() {
            return time;
        }
    }

}
